package base.operator;

public class Condition {
    public static void main(String[] args) {
        int score1 = 60;
        boolean pass1 = score1 >= 60 ? true : false;
        System.out.println("score = " + score1 + ",pass = " + pass1);
        int score2 = 59;
        boolean pass2 = score2 >= 60 ? true : false;
        System.out.println("score = " + score2 + ",pass = " + pass2);
    }
}
